Part Number Hot Search : 
MM18TAN PQ12R04 IRGPC20K SG1627 TC654 51123 APTGT200 AZT71QG
Product Description
Full Text Search
 

To Download CY7C65640A-LFXC Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  tetrahub? high-speed usb hub controlle r cy7c65640a cypress semiconductor corporation ? 198 champion court ? san jose , ca 95134-1709 ? 408-943-2600 document #: 38-08019 rev. *i revised october 18, 2006 1.0 tetrahub? features ? usb 2.0 hub ? four downstream ports ? multiple transaction translators?one per downstream port for maximum performance ? vid, pid, and did configur ed from external spi eeprom ? 24-mhz external crystal ? small package?quad flat pack, no leads (qfn) ? integrated upstream pull-up resistor ? integrated downstream pull-down resistors for all down- stream ports ? integrated upstream and downs tream series termination re- sistors ? configurable with external spi eeprom ? number of active ports ? number of removable ports ?maximum power ? hub controller power ? power-on timer ? overcurrent timer ? disable overcurrent timer ? enable full-speed only ? disable port indicators ? gang power switching ? enable single tt mode only ? enable noeopateof1 figure 1-1. block diagram . spi communication block usb upstream port usb 2.0 phy pll high-speed usb control logic serial interface engine hub repeater routing logic d+ d? usb downstream port 1 usb 2.0 phy port power control port status d+ d? ovr#[1] led pwr#[1] transaction translator (x4) tt ram spi_sd spi_sck spi_cs usb downstream port 2 usb 2.0 phy port power control port status d+ d? ovr#[2] led pwr#[2] usb downstream port 3 usb 2.0 phy port power control port status d+ d? ovr#[3] led pwr#[3] usb downstream port 4 usb 2.0 phy port power control port status d+ d? ovr#[4] led pwr#[4] 24 mhz crystal [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 2 of 21 2.0 introduction cypress?s tetrahub ? is a high-performance self-powered universal serial bus (usb) 2.0 hub. the tetra architecture provides four downstream usb ports, with a transaction translator (tt) for each port, making it the highest-perfor- mance hub possible. this single-chip device incorporates one upstream and four downstream usb transceivers, a serial interface engine (sie), usb hub controller and repeater, and four tts. it is suitable for standalone hubs, motherboard hubs, and monitor hub applications. being a fixed-function usb device, there is no risk or added engineering effort required for firmware development. the developer does not need to write any firmware for their design. the cy4602 tetrahub usb 2.0 4-port hub reference design kit provides all materials and documents needed to move rapidly into production. the reference design kit includes board schematics, bill of material s, gerber files, orcad files, key application notes, and product description. CY7C65640A-LFXC is a functional and pin equivalent die revision of cypress's cy7c65640-lfxc. changes were made to improve device performance. 2.1 tetrahub architecture figure 1-1 is a block diagram of the tetrahub architecture. 2.2 usb serial interface engine (sie) the sie allows the cy7c65640a to communicate with the usb host through the usb repeater component of the hub. the sie handles the following usb bus activity independently of the hub control block: ? bit stuffing/unstuffing ? checksum generation/checking ? ack/nak/stall ? token type identification ? address checking. 2.3 hub controller the hub control block does the following protocol handling at a higher level: ? coordinate enumeration by responding to setup packets ? fill and empty the fifos ? suspend/resume coordination ? verify and select data toggle values ? port power control and over-current detection. the hub controller provides status and control and permits host access to the hub. 2.4 hub repeater the hub repeater manages the connectivity between upstream and downstream facing ports that are operating at the same speed. it supports full-/low-speed connectivity and high-speed connectivity. per the usb 2.0 specification, the hub repeater provides the following functions: ? sets up and tears down connectivity on packet boundaries ? ensures orderly entry into and out of the suspend state, including proper handling of remote wakeups. 2.5 transaction translator the tt basically translates data from one speed to another. a tt takes high-speed split transactions and translates them to full-/low-speed transactions when the hub is operating at high speed (the upstream port is connected to a high-speed host controller) and has full-/low-speed devices attached. the operating speed of a device attached on a downstream facing port determines whether the routing logic connects a port to the transaction translator or hub repeater section. if a low- /full-speed device is connected to the hub operating at high speed, the data transfer route includes the transaction trans- lator. if a high-speed device is connected to this high-speed hub the route only includes t he repeater and no transaction translator since the device a nd the hub are in conformation with respect to their data transfer speed. when the hub is operating at full speed (the up stream port is connected to a full-speed host controller), a high-speed peripheral will not operate at its full capability. t hese devices will only work at 1.1 speed. full- and low-speed devices connected to this hub will operate at their 1.1 speed. 3.0 applications ? standalone hubs ? motherboard hubs ? monitor hub applications ? external personal storage drives ? port replicators ? portable drive ? docking stations 4.0 functional overview the cypress tetrahub usb 2.0 hub is a high-performance, low-system-cost solution for usb. the tetrahub usb 2.0 hub integrates 1.5k upstream pu ll-up resistors for full-speed operation and all downstream 15k pull-down resistors as well as series termination resistors on all upstream and downstream d+ and d? pins. this results in optimization of system costs by providing built -in support for the usb 2.0 specification. 4.1 system initialization on power-up, the tetrahub will read an external spi eeprom for configuration information. at the most basic level, this eeprom will have the vendor id (vid), product id (pid), and device id (did) for the customer's application. for more specialized applications, other configuration options can be specified. see section 8.0 for more details. after reading the eeprom, if bu spower (connected to up- stream vbus) is high, tetrahub will enable the pull-up resistor on the d+ to indicate that it is connected to the upstream hub, after which a usb bus reset is expected. [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 3 of 21 during this reset, tetrahub will initiate a chirp to indicate that it is a high-speed peripheral. in a usb 2.0 system, the upstream hub will respond with a chirp sequence, and tetrahub will be in a high-speed mode, with the upstream d+ pull-up resistor turned off. in u sb 1.x systems, no such chirp sequence from the upstream hub will be seen, and tetrahub will operate as a normal 1.x hub (operating at full speed). 4.2 enumeration after a usb bus reset, tetrahub is in an unaddressed, uncon- figured state (configuration value set to 0). during the enumer- ation process, the host will set the hub's address and configu- ration by sending a setcongfiguration request. changing the hub address will restore it to an unconfigured state. for high-speed multi-tt support, the host must also set the alternate interface setting to 1 (the default mode is single-tt). once the hub is configured, the full hub functionality is available. 4.3 multiple transacti on translator support after tetrahub is configured in a high-speed system, it will be in single tt mode. the host may then set the hub into multiple tt mode by sending a setinterface command. in multiple tt mode, each full-speed port is handled independently and thus has a full 12-mbps bandwidth available. in single tt mode, all traffic from the host destined for full- or low-speed ports will be forwarded to all of those ports. this means that the 12-mbps bandwidth is shared by all full- and low-speed ports. 4.4 downstream ports tetrahub supports a maximum of four downstream ports, each of which may be marked as usable or removable in the extended configuration (0xd 2 eeprom load, see section 8.2). downstream d+ and d? pull-down resistors are incorpo- rated in tetrahub for each port. prior to the hub being configured, the ports are driven se0 (single ended zero, where both d+ and d? are driven low) and are set to the unpowered state. once the hub is configured, the ports are not driven, and the host may power the ports by sending a setportpower command to each port. after a port is powered, any connect or disconnect event is detected by the hub. any change in the port state is repor ted by the hub back to the host through the status change endpoint (endpoint 1). upon receipt of setportreset command from the host, the hub will ? drive se0 on the corresponding port ? put the port in an enabled state ? enable the green port indicator for that port (if not previously overridden by the host) ? enable babble detection once the port is enabled. babble consists of either unterminated traffic from a downstream port (or loss of activity), or a non-idle condition on the port after eof2. if babble is detected on an enabled port, that port will be disabled. a clearportenable command from the host will also disable the specified port. downstream ports can be individually suspended by the host with the setportsuspend co mmand. if the hub is not suspended, any resume will be confined to that individual port and reflected to the host through a port change indication in the hub status change endpoint. if the hub is suspended, a resume on this port will be forwarded to the host, but other resume events will not be seen on that port. the host may resume the port by sending a clearportsuspend command. 4.5 upstream port the upstream port includes the transmitter and the receiver state machine. the transmitter and receiver operate in high- speed and full-speed depending on the current hub configu- ration. the transmitter state machine monitors the upstream facing port while the hub repeater has connectivity in the upstream direction. this monitoring activity prevents propagation of erroneous indications in the upstream direction. in particular, this machine prevents babble and disconnect events on the downstream facing ports of this hub from propagating and causing the hub to be disabled or disconnected by the hub to which it is attached. this allows the hub to only disconnect the offensive port on detecting a babble from it. 4.6 power switching tetrahub includes interface signals for external port power switches. both ganged and individual (per-port) configurations are supported, with individual switching being the default. initially all ports are unpowered. after enumerating, the host may power each port by sending a setportpower command for that port. the power switching and over-current detection of downstream ports is managed by control pins connected to an external power switch device. pwr [n]# output pins of the cy7c65640a series are connected to the respective external power switch's port power enable signals. (note that each port power output pin of the external power switch must be bypassed with an electrolytic or tantalum capacitor as required by the usb specification. thes e capacitors supply the inrush currents, which occur during downstream device hot-attach events.) 4.7 over-current detection over-current detection includes timed detection of 8 ms by default. this parameter is configured from the external eeprom in a range of 0 ms to 15 ms for both an enabled port and a disabled port individually. detection of over-current on downstream ports is managed by control pins connected to an external power switch device. the ovr[n]# pins of the cy 7c65640a series are connected to the respective external power switch's port over-current indication (output) signals. up on detecting an over-current condition, the hub device reports the over-current condition to the host and disables the pwr# output to the external power device. 4.8 port indicators the usb 2.0 port indicators are also supported directly by tetrahub. as per the specific ation, each downstream port of the hub supports an optional status indicator. the presence of indicators for downstream facing ports is specified by bit 7 of the whubcharacteristics field of the hub class descriptor. the default terahub descriptor specifies that port indicators are supported (whubcharacteristics, bit 7 is set). if port indicators [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 4 of 21 are not included in the hub, this should be disabled by the eeprom. each port indicator is strategically loca ted directly on the opposite edge of the port which it is associated with. the indicator provides two colors: green and amber. this is imple- mented as two separate leds, one amber and the other green. a combination of hardware and software control is used to inform the user of the current status of the port or the device attached to the port and to guide the user through problem resolution. colors and blinking are used to provide information to the user. the significance of the color of the led depends on the operational mode of the tetrahub. there are two modes of operation for the tetr ahub port indicators: automatic and manual. on power-up the terahub defaults to automatic mode, where the color of the port indicator (g reen, amber, off) indicates the functional status of the tetr ahub port. in automatic mode, tetrahub will turn on the green led whenever the port is enabled and the amber led when it has had an over-current condition detected. the color of the port indicator is set by the port state machine. blinking of the leds is not supported in automatic mode. table 4-1 below identifies the mapping of color to port state in automatic mode. in manual mode, the indicators are under the control of the host, which can turn on one of the leds, or leave them off. this is done by a system software usb hub class request. blinking of the leds is suppor ted in manual mode. the port indicators allow the user to intervene on any error detection. for example, when babble is detected on plugging in a defective device, or on occurrence of an overcurrent condition, the port indicators corresponding to the downstream port will blink green or only light t he amber led, respectively. table 4- 2 below displays the color definition of the indicators when tetrahub is in manual mode. note . information presented in table 4-1 and ta ble 4-2 is from usb 2.0 specification tables 11-6 and 11-7, respectively. table 4-1. automatic port state to port indicator color mapping port switching downstream facing hub port state powered off disconnected, disabled, not configured, resetting, testing enabled, transmit, or transmitr suspended, resuming, sendeor, restart_e/s with off or amber if due to an overcurrent condition off green off without off off or amber if due to an overcurrent condition green off table 4-2. port indicator co lor definitions in manual mode color definition port state off not operational amber error condition green fully operational blinking off/green software attention blinking off/amber hardware attention blinking green/amber reserved [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 5 of 21 5.0 pin configuration figure 5-1. 56-pin quad flat pack no leads (8 mm x 8 mm) vcc vcc vcc gnd gnd gnd buspower green#[1] amber#[1] green#[2] amber#[2] green#[3] amber#[3] amber#[4] green#[4] 1 2 3 4 5 6 7 8 9 54 55 56 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 dd?[4] dd+[4] vcc gnd dd?[3] dd+[3] vcc gnd dd?[2] dd+[2] vcc gnd dd?[1] dd+[1] vcc vcc vcc vcc vcc gnd gnd gnd gnd gnd gnd d? d+ xin xout spi_cs pwr#[1] ovr#[1] pwr#[2] ovr#[2] reset spi_sck spi_sd pwr#[3] ovr#[3] pwr#[4] ovr#[4] [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 6 of 21 6.0 pin description table table 6-1 below displays the pin assignments for the cy7c65640a. table 6-1. pin assignments pin name type default description 3 vcc power n/a v cc . this signal provides power to the chip. 7 vcc power n/a v cc . this signal provides power to the chip. 11 vcc power n/a v cc . this signal provides power to the chip. 15 vcc power n/a v cc . this signal provides power to the chip. 19 vcc power n/a v cc . this signal provides power to the chip. 23 vcc power n/a v cc . this signal provides power to the chip. 27 vcc power n/a v cc . this signal provides power to the chip. 33 vcc power n/a v cc . this signal provides power to the chip. 39 vcc power n/a v cc . this signal provides power to the chip. 45 vcc power n/a v cc . this signal provides power to the chip. 55 vcc power n/a v cc . this signal provides power to the chip. 4gndpowern/a gnd . connect to ground with as short a path as possible. 8gndpowern/a gnd . connect to ground with as short a path as possible. 12 gnd power n/a gnd . connect to ground with as short a path as possible. 16 gnd power n/a gnd . connect to ground with as short a path as possible. 20 gnd power n/a gnd . connect to ground with as short a path as possible. 24 gnd power n/a gnd . connect to ground with as short a path as possible. 28 gnd power n/a gnd . connect to ground with as short a path as possible. 34 gnd power n/a gnd . connect to ground with as short a path as possible. 40 gnd power n/a gnd . connect to ground with as short a path as possible. 47 gnd power n/a gnd . connect to ground with as short a path as possible. 50 gnd power n/a gnd . connect to ground with as short a path as possible. 56 gnd power n/a gnd . connect to ground with as short a path as possible. 21 xin input n/a 24-mhz crystal in or external clock input . 22 xout output n/a 24-mhz crystal out . 46 reset# input n/a active low reset . this pin resets the entire chip. it is normally tied to v cc through a 100k resistor, and to gnd through a 0.1-f capacitor. other than this, no other special power-up procedure is required. 26 buspower input n/a vbus . connect to the vbus pin of the upstream connector. this signal indicates to the hub that it is in a powered stat e, and may enable the d+ pull-up resistor to indicate a connection. (the hub will do so after the external eeprom is read, unless it is put into a high-speed mode by the upstream hub). the hub can not be bus powered, and the vbus signal must not be used as a power source. spi interface 25 spi_cs o o spi chip select . connect to cs pin of the eeprom. 48 spi_sck o o spi clock . connect to eeprom sck pin. 49 spi_sd i/o/z z spi dataline co nnect to gnd with 15-k ? resistor and to the data i/o pins of the eeprom. upstream port 17 d? i/o/z z upstream d? signal . 18 d+ i/o/z z upstream d+ signal . [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 7 of 21 unused port dd+/dd? lines can be left floating. the port power, am ber, and green led pins should be left unconnected, and the overcurrent pin should be tied high. the overcurrent pin is an input and it should not be left floating. 7.0 default descriptors 7.1 device descriptor the standard device descriptor for tetrahub is based on the vi d, pid, and did found in the spi eeprom. this vid/pid/did in the eeprom will overwrite the default vi d/pid/did. if no eeprom is used, the te trahub will enumerate with the default descriptor values as shown below. downstream port 1 13 dd?[1] i/o/z z downstream d? signal . 14 dd+[1] i/o/z z downstream d+ signal . 36 amber#[1] o 1 led . driver output for amber led. port indicator support. active low. 35 green#[1] o 1 led . driver output for green led. po rt indicator support. active low. 30 ovr#[1] input 1 overcurrent condition detection input . active low. 29 pwr#[1] o/z z power switch driver output . active low. downstream port 2 9 dd?[2] i/o/z z downstream d? signal . 10 dd+[2] i/o/z z downstream d+ signal . 38 amber#[2] o 1 led . driver output for amber led. port indicator support. active low. 37 green#[2] o 1 led . driver output for green led. po rt indicator support. active low. 32 ovr#[2] input 1 overcurrent condition detection input . active low. 31 pwr#[2] o/z z power switch driver output . active low. downstream port 3 5 dd?[3] i/o/z z downstream d? signal . 6 dd+[3] i/o/z z downstream d+ signal . 42 amber#[3] o 1 led . driver output for amber led. port indicator support. active low. 41 green#[3] o 1 led . driver output for green led. po rt indicator support. active low. 53 ovr#[3] input 1 overcurrent condition detection input . active low. 54 pwr#[3] o/z z power switch driver output . active low. downstream port 4 1 dd?[4] i/o/z z downstream d? signal . 2 dd+[4] i/o/z z downstream d+ signal . 44 amber#[4] o 1 led . driver output for amber led. port indicator support. active low. 43 green#[4] o 1 led . driver output for green led. po rt indicator support. active low. 51 ovr#[4] input 1 overcurrent condition detection input . active low. 52 pwr#[4] o/z z power switch driver output . active low. table 6-1. pin assignments (continued) pin name type default description byte full speed high speed field name description 0 0x12 0x12 blength 18 bytes 1 0x01 0x01 bdescriptortype device_descriptor 2,3 0x0200 0x0200 bcdusb usb specification 2.0 4 0x09 0x09 bdeviceclass hub 5 0x00 0x00 bdevicesubclass none [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 8 of 21 7.2 configuration descriptor 7.3 interface descriptor 6 0x00 0x02 bdeviceprotocol none 7 0x40 0x40 bmaxpacketsize0 64 bytes 8,9 0x04b4 0xx04b4 widvendor vid (overwritten by what is defined in eeprom) 10,11 0x6560 0x6560 widproduct pid (overwritten by what is defined in eeprom) 12, 13 0x000b 0x000b wbc ddevice did (overwritten by what is defined in eeprom) 14 0x00 0x00 imanufacturer no ma nufacturer string supported 15 0x00 0x00 iproduct no product string supported 16 0x00 0x00 iserialnumber no serial string supported 17 0x01 0x01 bnumconfigurations one configuration supported byte full speed high speed field name description byte full speed high speed field name description 0 0x09 0x09 blength 9 bytes 1 0x02 0x02 bdescriptortype config_descriptor 2 0x0019 0x0029 [1] wtotallength length of all other descriptors 4 0x01 0x01 bnuminterfaces 1 5 0x01 0x01 bconfigurationvalue the configuration to be used 6 0x00 0x00 iconfiguration 7 0xe0 0xe0 bmattributes 8 0x32 0x32 [2] bmaxpower notes 1. this value is reported as 0x19 if the hub is configured in single-tt mode. 2. this value is configured through the external eeprom. byte full speed high speed field name description 0 0x09 0x09 blength 9 bytes 1 0x04 0x04 bdescriptortype interface_descriptor 2 0x00 0x00 binterfacenumber 3 0x00 0x00 balternatesetting 4 0x01 0x01 bnumendpoints 5 0x09 0x09 binterfaceclass 6 0x00 0x00 binterfacesubclass 7 0x00 0x01 binterfaceprotocol 8 0x00 0x00 iinterface [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 9 of 21 7.4 endpoint descriptor 7.5 interface descriptor [3] i 7.6 endpoint descriptor [3] byte full speed high speed field name description 0 0x07 0x07 blength 7 bytes 1 0x05 0x05 bdescriptortype endpoint_descriptor 2 0x81 0x81 bendpointaddress in endpoint #1 3 0x03 0x03 bmattributes interrupt 4,5 0x0001 0x0001 wmaxpacketsize maximum packet size 6 0xff 0x0c binterval polling rate byte full speed high speed field name description 0 n/a 0x09 blength 9 bytes 1 n/a 0x04 bdescriptortype interface_descriptor 2 n/a 0x00 binterfacenumber interface descriptor index 3 n/a 0x01 balternatesetting alter nate setting for the interface 4 n/a 0x01 bnumendpoints number of endpoints defined 5 n/a 0x09 binterfaceclass interface class 6 n/a 0x00 binterfacesubclass interface sub-class 7 n/a 0x02 binterfaceprotocol interface protocol 8 n/a 0x00 binterface interface string index note 3. if tetrahub is configured for single-tt only (from the external eeprom), this descriptor is not present. byte full speed high speed field name description 0 n/a 0x07 blength 7 bytes 1 n/a 0x05 bdescriptortype endpoint_descriptor 2 n/a 0x81 bendpointaddress in endpoint #1 3 n/a 0x03 bmattributes interrupt 4,5 n/a 0x0001 wmaxpacketsize maximum packet size 6 n/a 0x0c binterval polling rate [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 10 of 21 7.7 device qualif ier descriptor 7.8 hub descriptor byte full speed high speed field name description 0 0x0a 0x0a blength 10 bytes 1 0x06 0x06 bdescriptortype device_qualifier 2,3 0x0200 0x0200 bcdusb 4 0x09 0x09 bdeviceclass 5 0x00 0x00 bdevicesubclass 6 0x02 0x00 bdeviceprotocol 7 0x40 0x40 bmaxpacketsize0 8 0x01 0x01 bnumconfigurations 9 0x00 0x00 breserved n o t e 4. this value is configured through the external eeprom. byte all speeds field name description 0 0x09 blength 9 bytes 1 0x29 bdescriptortype hub descriptor 2 0x04 [7.8] bnbrports number of ports supported 3,4 0x0089 [7.8] whubcharacteristics b1, b0: logical power switching mode 00: ganged power switching (all ports? power at once) 01: individual port power switching (default in tetrahub) b2: identifies a compound device, 0: hub is not part of a compound device (default in tetrahub), 1: hub is part of a compound device. b4, b3: over-current protection mode 00: global overcurrent protection. the hub reports overcurrent as a summation of all ports current draw, without a breakdown of individual port overcurrent status. 01: individual port overcurrent protec tion. the hub reports overcurrent on a per-port basis. each port has an over-current status (default in tetrahub). 1x: no overcurrent protection. this option is allowed only for bus- powered hubs that do not implement overcurrent protection. b6, b5: tt think time 00: tt requires at most 8 fs bit times of inter transaction gap on a full-/low-speed downstream bus (default in tetrahub). 01: tt requires at most 16 fs bit times. 10: tt requires at most 24 fs bit times. 11: tt requires at most 32 fs bit times. b7: port indicators supported, 0: port indicators are not supported on its downstream facing ports and the port_indicator request has no effect. 1: port indicators are supported on its downstream facing ports and the port_indicator request controls the indicators. see section 4 and 9 (default in tetrahub). b15...b8: reserved 5 0x32 [7.8] bpwron2pwrgood time from when the port is powered to when the power is good on that port 6 0x64 [7.8] bhubcontrcurrent maximum current requirement for the hub controller 7 0x00 [7.8] bdeviceremovable indicates if the por t has a removable device attached 8 0xff [7.8] bportpwrctrlmask required for compatibility with software written for 1.0 compliant devices [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 11 of 21 8.0 configuration options systems using tetrahub must have an external eeprom in order for the device to have a unique vid, pid, and did. the tetrahub can talk to spi eeprom that are double byte addressable only. tetrahub uses the command format from the '040 parts. the tetrahub cannot talk to ?080 eeprom parts, as the read command format used for talking to ?080 is not the same as ?040. the '010s and '020s uses the same command format as used to interface with the ?040 and hence these can also be used to interface with the tetrahub. 8.1 default ? 0xd0 load when used in default mode, only a unique vid, pid, and did must be present in the exte rnal spi eeprom. the contents of the eeprom must contain this information in the following format: 8.2 configured ? 0xd2 load byte 0: 0xd2 needs to be programmed with 0xd2 byte 1: vid (lsb) least significant byte of vendor id byte 2: vid (msb) most significant byte of vendor id byte 3: pid (lsb) least significant byte of product id byte 4: pid (msb)] most significant byte of product id byte 5: did (lsb) least significant byte of device id byte 6: did (msb)] most significant by te of device id byte 7: enableovercurrenttimer[3:0], disabledovercur- renttimer[3:0] count time in ms for filtering overcurrent detection. bits 7?4 are for an enabled port, and bits 3?0 are for a disabled port. both range from 0 ms to 15 ms. see section 4.8. default: 8 ms = 0x88. byte 8: activeports[3:0], removableports[3:0] bits 7?4 are the activeports[3:0] bits that indicates if the corresponding port is usable. for example, a two-port hub that uses ports 1 and 4 would set this field to 0x09. the total number of ports reported in the hub descriptor: bnbrports field is calculated from this . bits 3?0 are the removable- ports[3:0] bits that indicates whether the corresponding port is removable (set to high ). this bit?s values are re- corded appropriately in the hubdescriptor:deviceremovable field. default: 0xff. byte 9: maximumpower this value is reported in the configurationdescriptor:bmax- power field and is the current in 2-ma intervals that is re- quired from the upstream hub. default: 0x32 = 100 ma byte 10: hubcontrollerpower this value is reported in the hubdescriptor:bhubcontrcur- rent field and is the current in milliamperes required by the hub controller. default: 0x64 = 100 ma. byte 11: powerontimer this value is reported in the hubdescrip- tor:bpwron2pwrgood field and is the time in 2-ms intervals from the setportpower command until the power on the corresponding downstream port is good. default: 0x32 = 100 ms. byte 12: illegalh ubdescriptor, unused, fullspeedonly, noportindicators, reserved, gangpowered, singlet- tonly, noeopateof1 bit 7: illegalhubdescriptor: for gethubdescriptor request, some usb hosts use a descr iptortypeof 0x00 instead of hub_descriptor, 0x29. according to the usb 2.0 stan- dard, a hub must treat this as a request error, and stall the transaction accordingly (usb 2.0, 11.24.2.5). for sys- tems that do not accept this, the illegalhubdescriptor con- figuration bit may be set to al low tetrahub to accept a de- scriptortype of 0x00 for this command. default is 0, recommended setting is 1. bit 6: unused: this bit is an unused, don?t care bit and can be set to anything. byte value 0 0xd0 1 vid (lsb) 2 vid (msb) 3 pid (lsb) 4 pid (msb) 5 did (lsb) 6 did (msb) byte value (msb->lsb) 0 0xd2 1 vid (lsb) 2 vid (msb) 3 pid (lsb) 4 pid (msb) 5did (lsb) 6 did (msb) 7 enableovercurrenttimer[3:0], disableovercurrent- timer[3:0] 8 activeports[3:0], removableports[3:0] 9maxpower 10 hubcontrollerpower 11 powerontimer 12 illegalhubdescriptor, unused, fullspeedonly, noportindicators, reserved, gangpowered, singlet- tonly, noeopateof1 [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 12 of 21 bit 5: fullspeed: only confi gures the hub to be a full-speed only device. default set to 0. bit 4: noportindicators: turns off the port indicators and does not report them as present in the hubdescriptor, whubcharacteristics b7 fi eld. default set to 0. bit 3: reserved: this bit is reserved and should not be set to 1. must be set to 0. bit 2: gangpowered: indicates whether the port power switching is ganged (set to 1) or per-port (set to 0). this is reported in the hubdescriptor, whubcharacteristics field, b4, b3, b1, and b0. default set to 0. bit 1: singlettonly: indicates that the hub should only sup- port single transaction translator mode. this changes var- ious descriptor values. default set to 0. bit 0: noeopateof1 turns off the eop generation at eof1 in full-speed mode. note that several usb 1.1 hosts can not handle eopateof1 properly. cypress recommends that this option be turned off for general-purpose hubs. default is 0, recommended setting is 1. 9.0 supported usb requests 9.1 device class commands note 5. only one configuration is supported in tetrahub. table 9-1. device class requests request bmrequesttype brequest wvalue windex wlength data getdevicestatus 10000000b 0x00 0x0000 0x0000 0x0002 2 byte device status getinterfacestatus 10000001b 0x00 0x0000 0x0000 0x0002 2 byte endpoint status getendpointstatus 10000010b 0x00 0x0000 0x0000 0x0002 2 byte endpoint status getdevicedescriptor 10000000b 0x06 0x0001 zero or language id descriptor length descriptor getconfigdescriptor 10000000b 0x06 0x0002 zero or language id descriptor length descriptor getdevicequalifierde- scriptor 10000000b 0x06 0x0006 zero or language id descriptor length descriptor getotherspeedconfigura- tiondescriptor 10000000b 0x06 0x0007 zero or language id descriptor length descriptor getconfiguration [5] 10000000b 0x08 0x0000 0x0000 0x0001 configuration value setcongfiguration [5] 00000000b 0x09 configuration value 0x0000 0x0000 none getinterface 10000001b 0xa 0x0000 0x0000 0x0001 interface number setinterface 00000001b 0x0b alternate setting interface number 0x0000 none setaddress 00000000b 0x05 device address 0x0000 0x0000 none setdeviceremotewakeup 00000000b 0x03 0x01 0x0000 0x0000 none setdevicetest_j 00000000b 0x03 0x02 0x0100 0x0000 none setdevicetest_k 00000000b 0x03 0x02 0x0200 0x0000 none setdevicetest_se0_nak 00000000b 0x03 0x02 0x0300 0x0000 none setdevicetest_packet 00000000b 0x03 0x02 0x0400 0x0000 none setendpointhalt 00000000b 0x03 0x00 0x0000 0x0000 none cleardevicere- motewakeup 00000000b 0x01 0x01 0x0000 0x0000 none clearendpointhalt 00000000b 0x01 0x00 0x0000 0x0000 none [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 13 of 21 9.2 hub class commands notes 6. feature selector values for different features are presented in table 9-3 . 7. selector values for different features are presented in table 9-5 . 8. selector values for different features are presented in table 9-4 . table 9-2. hub class requests request bmrequesttype brequest wvalue windex wlength data gethubstatus 10100000b 0x00 0x0000 0x0000 0x0004 hub status (see table 11-19 of spec) change status (see table 11-20 of spec) getportstatus 10100011b 0x00 0x0000 byte 0: 0x00 byte 1: port 0x0004 port status (see table 11-21 of spec) change status (see table 11-20 of spec) clearhubfeature 00100000b 0x01 feature selectors [6] 0 or 1 0x0000 0x0000 none clearportfeature 00100011b 0x01 feature selectors [6] 1, 2, 8, 16, 17, 18, 19, or 20 byte 0: 0x00 byte 1: port 0x0000 none clearportfeature 00100011b 0x01 feature selectors [6] 22 (port_indicator) byte 0: selectors [7] 0, 1, 2, or 3 byte 1: port 0x0000 none sethubfeature 00100000b 0x03 feature selector [6] 0x0000 0x0000 tetrahub stalls this request setportfeature 00100011b 0x03 feature selectors [6] 2, 4 or 8 port 0x0000 none setportfeature 00100011b 0x03 feature selector [6] 21 (port_test) byte 0: selectors [8] 1,2, 3, 4 or 5 byte 1: port 0x0000 none setportfeature 00100011b 0x03 feature selector [6] 22 (port_indicator) byte 0: selectors [7] 0, 1, 2, or 3 byte 1: port 0x0000 none gethubdescriptor 10100000b 0x06 descriptor type and descriptor index hub descriptor length clearttbuffer 00100011b 0x08 dev_addr, ep_num tt_port 0x0000 none resettt 00100000b 0x09 0x0000 byte 0: 0x00 byte 1: port 0x0000 none getttstate 10100011b 0x0a tt_flags byte 0: 0x00 byte 1: port tt state length tt state stoptt 00100011b 0x0b 0x0000 byte 0: 0x00 byte 1: port 0x0000 none [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 14 of 21 10.0 upstream usb connection the following is a schematic of the usb upstream connector figure 10-1. usb upstream port connection table 9-3. hub class feature selector feature selector recipient value c_hub_local_power hub 0 c_hub_over_current hub 1 port_connection port 0 port_enable port 1 port_suspend port 2 port_reset port 4 port_power port 8 port_low_speed port 9 c_port_connection port 16 c_port_enable port 17 c_port_suspend port 18 c_port_over_current port 19 c_port_reset port 20 port_test port 21 port_indicator port 22 table 9-4. test mode selector for feature selector port_test (0x21) port_test mode description selector value test_j 1 test_k 2 test_se0_nak 3 test_packet 4 test_force_enable 5 table 9-5. port indicator selector for feature selector port_indicator (0x22) port indicator color selector value port indicator mode color set automatically as shown in ta ble 4-1 0 automatic mode amber 1 manual mode green 2 manual mode off 3 manual mode vcc d? d+ shell buspower gnd 4.7 nf 250v 1 m ? d? d+ 100 k ? 2.2 f 10v [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 15 of 21 11.0 downstream usb connections the following is a schematic of the usb downstream connector figure 11-1. us b downstream port connection. 12.0 led connections the following is a schematic of the led circuitry figure 12-1. usb downst ream port connection. vcc d? gnd shell d+ dd?[x] dd+[x] pwrx 150 f 10v 0.01 f 680 ? 680 ? green#[x] amber#[x] 3.3v [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 16 of 21 13.0 sample schematic figure 13-1. sample schematic vcc d? d+ shell buspower gnd 4.7 nf 250v 1 m ? d? d+ 100 k ? 2.2 f 10v cy7c65640a-qfn green[1] amber[1] green[2] amber[2] green[3] amber[3] green[4] amber[4] pwr1 ovr1 pwr2 ovr2 pwr3 ovr3 pwr4 ovr4 spi_cs spi_sck spi_sd dd?[1] dd+[1] dd?[2] dd+[2] dd?[3] dd+[3] dd?[4] dd+[4] d? d+ buspower d- d+ dd-[1] dd+[1] dd-[2] dd+[2] dd-[3] dd+[3] dd-[4] dd+[4] green[1] amber[1] green[2] amber[2] green[3] amber[3] green[4] amber[4] pwr1 ovr1 pwr2 ovr2 pwr3 ovr3 pwr4 ovr4 spi_cs spi_sck spi_sd vcc1 vcc2 vcc3 vcc4 vcc5 vcc6 vcc7 vcc8 vcc9 vcc10 vcc11 xin xout gnd1 gnd2 gnd3 gnd4 gnd5 gnd6 gnd7 gnd8 gnd9 gnd10 gnd11 gnd12 buspower reset 3v 24 mhz 27 pf 0.1 f 3.3v 100k spi eeprom spi_sd spi_sck spi_cs 5v pwr1 pwr3 pwr4 power management pwr1 ovr1 pwr2 ovr2 ovr3 pwr3 pwr4 ovr4 vcc d? d+ shell gnd 150 f 0.01 f 10v dd?[1] dd+[1] pwr1 680 ? 680 ? green#[1] amber#[1] 3.3v 680 ? 680 ? green#[2] amber#[2] 3.3v vcc d? d+ shell gnd 150 f 0.01 f 10v dd?[2] dd+[2] pwr2 vcc d? d+ shell gnd 150 f 0.01 f 10v dd-[3] dd+[3] pwr3 680 ? 680 ? green#[3] amber#[3] 3.3 v 680 ? 680 ? green#[4] amber#[4] 3.3 v vcc d? d+ shell gnd 150 f 0.01 f 10v dd-[4] dd+[4] pwr4 pwr2 2 7pf spi_sd [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 17 of 21 14.0 electrical characteristics 14.1 absolute maximum ratings storage temperature ................................ ?65c to +150 c ambient temperature with power applied ........................................... 0c to +70c supply voltage to ground potential .............. ?0.5v to +4.0v dc voltage applied to outputs in high z state .......................................?0.5v to v cc + 0.5v power dissipation (4 hs ports) ......................................1.6w static discharge voltage......... .............. .............. ...... > 2000v max. output sink current per i/o ................................ 10 ma 14.2 operating conditions t a (ambient temperature under bias) ............. 0c to +70c supply voltage............................................+3.15v to +3.45v ground voltage.................................................................. 0v fosc (oscillator or crystal frequency)..... 24 mhz 0.05%, parallel resonant, fundamental mode 14.3 dc electrical characteristics parameter description cond itions min. typ. max. unit v cc supply voltage 3.15 3.3 3.45 v v ih input high voltage 2 5.25 v v il input low voltage ?0.5 0.8 v i l input leakage current 0 < v in < v cc 10 a v oh output voltage high i out = 4 ma 2.4 v v ol output low voltage i out = ?4 ma 0.4 v i oh output current high 4ma i ol output current low 4ma c in input pin capacitance 10 pf i susp suspend current 100 a i cc supply current 4 active ports full-speed host, full-speed devices 255 ma high-speed host, high-speed devices 460 ma high-speed host, full-speed devices 395 ma 2 active ports full-speed host, full-speed devices 255 ma high-speed host, high-speed devices 415 ma high-speed host, full-speed devices 380 ma no active ports full-speed host 255 ma high-speed host 370 ma usb transceiver z hsdrv driver output resistance 41 45 49 ? i i input leakage current 0.1 5 a i oz three-state output off-state current 10 a v hsrs high-speed receiver sensitivity level 210 mv t rfi full-speed frame jitter 133 ns thermal resistance t ja theta thermal coefficient junction to ambient e-pad configuration in section 16.1 at zero airflow 23.27 c/w [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 18 of 21 14.4 ac electrical characteristics both the upstream usb transceiver and all fo ur downstream transceivers have passed the usb-if usb 2.0 electrical certification te s t i n g . 14.4.1 serial peripheral interface 14.4.2 eye diagram 15.0 ordering information parameter description conditions min. typ. max. unit clock rise/fall time 500 ns clock frequency 250 khz data set-up time 50 ns hold time 100 ns reset period 1.9 ms ordering code package type CY7C65640A-LFXC 56-pin qfn lead-free package cy4602 tetrahub usb 2.0 4 port hub reference design kit [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 19 of 21 16.0 package diagram the tetrahub is available in a space-saving 56-pin qfn (8 8 mm) figure 16-1. 56-lead qfn 8 x 8 mm lf56a note . the bottom metal pad size varies by product due to die size variable. if metal pad design or dimension are critical with your board designs, please contact a cypress sales office to get the specific outline option. 16.1 quad flat package no leads (qfn) package design notes the qfn (quad flatpack no leads), being a lead free package, the electrical contact of the part to the printed circuit board (pcb) is made by soldering the lands on the bottom surface of the package to the pcb. hence special attention is required to the heat transfer area below the package to provide a good thermal bond to the circuit board. a copper (cu) fill should be designed into the pcb as a thermal pad under the package. heat is transferred from the tetrahub through the device?s metal paddle on the bottom side of the package. heat from here is conducted to the pc b at the thermal pad. it is then conducted from the thermal pad to the pcb inner ground plane by a 5 x 5 array of via. a via is a plated through-hole in the pcb with a finished diameter of 13 mil. the qfn?s metal die paddle must be soldered to the pcb?s thermal pad. solder mask is placed on the board top side over each via to resist solder flow into the via. the mask on the top side also minimizes outgassing during the solder reflow process. please follow the layout guidelines provided in the pcb layout files accompanied with the cy4602 tetrahub reference design kit. the information in this section was derived from the original application note by the package vendor. for further information on this package design please refer to the appli- cation note ?surface mount assembly of amkor?s microleadframe (mlf) technology?. this application note 51-85144 *f [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 20 of 21 ? cypress semiconductor corporation, 2006. the information contained herein is subject to change without notice. cypress semico nductor corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a cypress product. nor does it convey or imply any license under patent or ot her rights. cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agr eement with cypress. furthermore, cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to re sult in significant injury to the user. the inclusion of cypress products in life-support systems application implies that the manu facturer assumes all risk of such use and in doing so indemni fies cypress against all charges. can be downloaded from amkor?s website from the following url http://www.amkor.com/product s/notes_papers/mlf_appnote _0301.pdf. this application note provides detailed information on board mounting guidelines, soldering fl ow, rework process, etc. figure 16-2 below displays a cross-sectional area underneath the package. the cross section is of only one via. the solder paste template needs to be designed to allow at least 50% solder coverage. the thickness of the solder paste template should be 5 mil. it is reco mmended that ?no clean?, type 3 solder paste is used for mounting the part. nitrogen purge is recommended during reflow. figure 16-2. cross section of the area underneath the qfn package figure 16-3a is a plot of the so lder mask pattern and figure 16-3b displays an x-ray image of the assembly (darker areas indicate solder). figure 16-3a. plot of the solder mask (white area) figure 16-3b. x-ray image of the assembly tetrahub is a trademark of cypress semi conductor corporation. all product and company names mentioned in this document may be the trademarks of their respective holders. 0.017? dia solder mask cu fill cu fill pcb material pcb material 0.013? dia via hole for thermally connecting the qfn to the circuit board ground plane. this figure only shows the top three layers of the circuit board: top solder, pcb dielectric, and the ground plane. [+] feedback [+] feedback
cy7c65640a document #: 38-08019 rev. *i page 21 of 21 document history page document title: cy7c65640a tetrahub? high-speed usb hub controller document number: 38-08019 rev. ecn no. issue date orig. of change description of change ** 113506 04/25/02 bha new data sheet (preliminary) *a 116812 08/15/02 mon supply voltage range changed from 3.3v?3.6v to 3.15v?3.45 added eprom types that can be used with hx2 (p. 14) added description of bit 7 of byte 12 (illegal hub descriptor) d2 load (p. 15) added high speed sensitivity level of receiver (p. 20) added qfn package design notes (section 16.1) *b 118518 10/31/02 mon fixed the spec field in the default device descriptor section 7.1 fixed interface protocol field of t he interface descriptor, section 7.3 fixed device protocol field of the interface descriptor, section 7.7 modified table 9-2, section 9.2 added table 9-4, 9-5, section 9.2 added table 4-1, 4-2, section 4.8 added information on bits in whubcharacterestics, section 7.8 modified figure 16-1 in qfn package design notes, section 16.1 included the eye diagram, section 14.4.2 preliminary to final *c 121793 12/09/02 mon fixed the spi clock frequency to 250 khz, section 14.4.1 added information on the configurati on of unused port pins, section 6.0 added statement that no special power- up procedure is required, section 6.0 *d 125275 04/02/03 mon changed the name of bit 3 of byte 12 of eeprom for a 0xd2 load (section 8.2) from buspowered to reserved . removed all indication to the misconception that the hub can support bus power. added information as to whic h nibble of byte 8 in the eeprom defines the active ports and which nibble defines the removable ports, section 8.2. added further information on the buspower pin (pin 26) functionality in section 6.0. *e 234272 see ecn mon added part number for the lead free package (cy7c65640-lfxc), section 15.0 changed the name of bit 6 of byte 12 of eeprom for a 0xd2 load from compounddevice to unused , section 8.2. *f 285171 see ecn kku changed cy7c65640 to cy7c65640a and reformatted to new format *g 308296 see ecn kku added reset period under ac characteristics. removed compound device from features list. updated section 7.1 did from 0x0 007 to 0x000b for rev e silicon. *h 390258 see ecn kku added theta thermal coefficient junction to ambient (t ja ) to section 14.3 *i 522224 see ecn teh corrected typo in table 6-1. changed downstream port 4 signal labels from [3] to [4]. updated package diagram. updated to new template.. [+] feedback [+] feedback


▲Up To Search▲   

 
Price & Availability of CY7C65640A-LFXC

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X